﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Data.SqlClient;

namespace PRE
{
    using DAL;
    public partial class frmSanpham : Form

    {
      
        public frmSanpham()
        {
            InitializeComponent();
        }

  

        private void frmSanpham_Load(object sender, EventArgs e)
        {
            hienthi_CV(sender, e);
        }

        private void label13_Click(object sender, EventArgs e)
        {

        }

        public void hienthi_CV(object sender, EventArgs e)
        {
            DataTable dt = new DataTable();
            var bll = new BLL.ChucvuBLL();
            dt = bll.Select();
            cbKhoa.DataSource = dt;
            cbKhoa.DisplayMember = "TEN_CV";
        }

        private void cbKhoa_SelectedIndexChanged(object sender, EventArgs e)
        {

        }

    }
}
